import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
//字符流
public class Read_Test {
    public static void main(String[] args) throws IOException {
        FileReader fileReader = new FileReader("D:\\Test\\outputStream.txt");
        while (true) {
            int date = fileReader.read();
            if(date == -1) {
                break;
            }
            System.out.println(date);
        }
        fileReader.close();
    }
}
